package entities;

import java.util.Date;
import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.Table;

import abstractEntities.AbstractUser;

/**
 * User entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "user", catalog = "skillworld")
public class User extends AbstractUser implements java.io.Serializable {

	// Constructors

	/**
	 * 
	 */
	private static final long serialVersionUID = -1235097461869653364L;

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(Inventory inventory, String email, String password,
			String nickname, String firstName, String lastName,
			Integer totalPoints) {
		super(inventory, email, password, nickname, firstName, lastName,
				totalPoints);
	}

	/** full constructor */
	public User(Inventory inventory, String email, String password,
			String nickname, String idFacebook, String firstName,
			String lastName, String photo, Integer totalPoints,
			Date dateLastActivity, Set<Tutorial> tutorialsForIdAuthor,
			Set<Tutorial> tutorialsForIdValidator,
			Set<Userranking> userrankingsForIdUser3,
			Set<Userranking> userrankingsForIdUser4, Set<Complaint> complaints,
			Set<Userranking> userrankingsForIdUser1,
			Set<Userranking> userrankingsForIdUser2, Set<Charater> charaters,
			Set<Userranking> userrankingsForIdUser5, Set<Team> teams,
			Set<Departamentleader> departamentleaders,
			Set<Mastercoach> mastercoachs, Set<Student> students,
			Set<Award> awards, Set<Userteam> userteams,
			Set<Usertutorial> usertutorials,
			Set<Leveldepartament> leveldepartaments) {
		super(inventory, email, password, nickname, idFacebook, firstName,
				lastName, photo, totalPoints, dateLastActivity,
				tutorialsForIdAuthor, tutorialsForIdValidator,
				userrankingsForIdUser3, userrankingsForIdUser4, complaints,
				userrankingsForIdUser1, userrankingsForIdUser2, charaters,
				userrankingsForIdUser5, teams, departamentleaders,
				mastercoachs, students, awards, userteams, usertutorials,
				leveldepartaments);
	}

}
